<html>
<head>
<title>main</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="<?php echo CSS_DIR ?>/admin.css" />
<title>工资导入</title>
<script type="text/javascript">
function checkMonth() {
	if (document.getElementById('month').value == '')
		alert('请先选择要导入的工资的月份！');
	else
		document.getElementById('import').submit();
}
</script>
</head>
<body>

<br>
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head>
工　资　导　入</td></tr>
<tr><td class=b>
<div>导入说明：</div>
<form name="import" id="import" action="<?php echo url('adminfinancial', 'importWage') ?>" method="post" enctype="multipart/form-data">
	<input type="file" name="wages"  />
	<select name="month" id="month">
		<option value="">请选择月份</option>
		<option value="01">1月</option>
		<option value="02">2月</option>
		<option value="03">3月</option>
		<option value="04">4月</option>
		<option value="05">5月</option>
		<option value="06">6月</option>
		<option value="07">7月</option>
		<option value="08">8月</option>
		<option value="09">9月</option>
		<option value="10">10月</option>
		<option value="11">11月</option>
		<option value="12">12月</option>
	</select>
	<select name="type">
		<option value="0">覆盖本月记录</option>
		<option value="1">添加新的记录</option>
	</select>
	<input type="button" value="导入" onclick="checkMonth();" />
</form>
</td></tr>
</table>
</body>
</head>